reject

abstract fun reject(completion: CompletionHandler?)

Reject a call. Call this method to reject the call when receiving an incoming call invitation.

Usage Example

import io.trtc.tuikit.atomicxcore.api.call.*

CallStore.shared.reject { code, message ->
}

Parameters

completion

Completion callback (success/failure status)